// Copyright by Thomas Maierhofer / MSE-iT, Hauptstrasse 32, 88427 Bad Schussenried, Germany
// See licence file of project for licencing details
// Contact: thomas@maierhofer.de

#include "stdafx.h"
#include "..\resource.h"
#include "FinishPage.h"


// CFinishPage-Dialogfeld

IMPLEMENT_DYNAMIC(CFinishPage, CDialog)

CFinishPage::CFinishPage(CWnd* pParent /*=NULL*/)
	: CWizardPage("finish.bmp",CFinishPage::IDD, pParent)
{

}

CFinishPage::~CFinishPage()
{
}

void CFinishPage::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	DDX_Control(pDX, IDC_FINISH_RICHEDIT, m_FinishText);
}


BEGIN_MESSAGE_MAP(CFinishPage, CWizardPage)
END_MESSAGE_MAP()

BOOL CFinishPage::OnCreatePage()
{
	CWizardPage::OnCreatePage(); // Never forget to call the base class method
	return TRUE;
}

void CFinishPage::LocalizeControls( void )
{
	CWizardPage::LocalizeControls(); // Never forget to call the base class method
	m_FinishText.SetRtfText(CSetupApp::SetupApp->GetLocalizedTextResource("finish.rtf")); 

}


// CFinishPage-Meldungshandler
